<?php
/**
* @file UserMessage.php
* Copyright (c) Friends Group. All rights reserved.
* $Id$
*
*/

require_once(realpath(dirname(__FILE__)) . '/../classes/BaseObject.php');

class UserMessage extends BaseObject 
{

	/**
	 * @AttributeType int
	 */
	protected $senderID;

	/**
	 * @AttributeType int
	 */
	protected $receiverID;

	/**
	 * @AttributeType int
	 */
	protected $messageID;

    public function __construct($senderID = "", $receiverID = "", $messageID = "")
    {
        $this -> senderID = $senderID;
        $this -> receiverID = $receiverID;
        $this -> messageID = $messageID;
    }
    
	/**
	 * @ParamType senderID int
	 */
	public function setSenderID($senderID) 
	{
		$this->senderID = $senderID;
	}

	/**
	 * @ReturnType int
	 */
	public function getSenderID() 
	{
		return $this->senderID;
	}

	/**
	 * @ParamType receiverID int
	 */
	public function setReceiverID($receiverID) 
	{
		$this->receiverID = $receiverID;
	}

	/**
	 * @ReturnType int
	 */
	public function getReceiverID() 
	{
		return $this->receiverID;
	}

	/**
	 * @ParamType messageID int
	 */
	public function setMessageID($messageID) 
	{
		$this->messageID = $messageID;
	}

	/**
	 * @ReturnType int
	 */
	public function getMessageID() 
	{
		return $this->messageID;
	}
}
?>